from scitk.app.sciapp import SciApp
import tkinter as tk
from tkinter import ttk 
from callback import *
from controller import *
from module1 import *

class MySciApp(SciApp):
    def __init__(self,parent):
        super().__init__(parent)
        self.e  = tk.Button(self.midFrame,text = 'press me_2')
        self.e.pack()
        
    def show_text(self,text,**kwargs):
        self.e.config(text=text)
        
def main():
    app=tk.Tk()
    
    sa=MySciApp(app)
    sa.pack(expand=True,fill=tk.BOTH)
    b = tk.Button(sa.midFrame,text = 'press me', command  = lambda: process_1(sa,'hh'))
    b.pack()

    app.geometry('400x300+100+100')
    
    sa.mainloop()
main()